package ysq.xyg.web.model.po;

import lombok.Data;
import lombok.NoArgsConstructor;
import ysq.xyg.sys.model.po.SysUser;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 业务管理-微信小程序关联表实体类
 *
 * @author shengQiang yu
 * @date 2019-5-18 20:48:41
 */
@Data
@NoArgsConstructor
@Table(name = "xyg_web_unionid")
public class WebUnionid implements Serializable{

	/**
     * unionid
     */ 
	@Id
	private String unionid;
	/**
     * 小程序openid
     */ 
	@Column(name = "xcx_openid")
	private String xcxOpenid;
	/**
     * 创建时间
     */ 
	@Column(name = "create_time")
	private Date createTime;

	public WebUnionid(SysUser sysUser) {
		this.createTime = new Date();
	}
}